package com.fa.production.service;

import cn.hutool.core.lang.tree.Tree;
import com.fa.production.domain.MdItem;
import com.fa.production.domain.ProRouteProcess;
import com.fa.production.domain.ProRouteProduct;
import com.fa.production.domain.Processs;

import java.util.ArrayList;
import java.util.List;

public interface ProcessService {
    List<Processs> getlist(Processs process);

    Processs selectProcesssById(Integer routeId);

    int insertProcesss(Processs process);

    int deleteProcesssById(List<Integer> routeId);

    int updateProcesss(Processs process);

    List<ProRouteProduct> getlist2(Integer routeId);

    List<ProRouteProcess> getlist1(Long routeId);

    int insertRouteProcesss(ProRouteProcess proRouteProcess);

    int deleteRouteProcesssById(List<Integer> recordId);

    ProRouteProcess selectRouteProcessById(Integer recordId);

    int updateRouteProcesss(ProRouteProcess proRouteProcess);

    List<Tree<String>> getMdItemTypeTreeList();

    List<MdItem> getMdItemList(MdItem mdItem);

    ArrayList<MdItem> getMdItemByIdList(ArrayList<Long> allIds);

    int insertRouteProduct(ProRouteProduct proRouteProduct);

    ProRouteProduct selectRouteProductById(Integer recordId);

    int updateRouteProduct(ProRouteProduct proRouteProduct);

    int deleteRouteProductById(List<Integer> recordId);
}
